package TeacherEvaluation.com.dao;

import org.apache.ibatis.annotations.Param;

import TeacherEvaluation.com.entity.Admin;
import TeacherEvaluation.com.entity.Student;
import TeacherEvaluation.com.entity.Teacher;

/**
 * 登录所用dao
 * @author azhao
 *2019/09/16
 */
public interface loginDao {
	int getAdminByNameAndPass(String username);
	int getTeacherByNameAndPass(String username);
	int getStudentByNameAndPass(String username);
	
	Admin getAdminInfo(@Param("username")String username,@Param("password")String password);
	Teacher getTeacherInfo(@Param("username")String username,@Param("password")String password);
	Student getStudentInfo(@Param("username")String username,@Param("password")String password);
	

}
